package at.alexanderpehm.pony.model;

/**
 * Metadata for note objects.
 * Everything except the note itself (i.e. no the payload).
 * @author Alexander Pehm
 */
public class NoteInfo {

    private String title;
    private String relativePath;

    public NoteInfo(String title, String relativePath) {
        this.title = title;
        this.relativePath = relativePath;
    }

    public String getRelativePath() {
        return relativePath;
    }

    public void setRelativePath(String relativePath) {
        this.relativePath = relativePath;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return this.title;
    }
}
